#7-2.py
import time
for i in range(101): #设置一个循环
    print("\r{:3}%".format(i), end="")
    time.sleep(0.1)